import java.io.IOException;

public interface Lockable {
	void setKey(int key) throws IOException;
	void lock(int key) throws IOException;
	void unlock(int key) throws IOException;
	boolean locked() throws IOException;
}
